<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>入库状态</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/reset.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <style type="text/css">
      .content {height: 100%;display: flex;flex-direction: column;}
      .select-item{flex:1;align-items: center; margin: 3px;border-size:1px; }
      .select-item span {border-radius:5px;background-color:#f2f2f2;width:90%;padding:24px 0px;line-height: 48px;font-size:24px; vertical-align: middle;}
      .select-item span:hover {border-radius:5px;background-color:#fdfdfd;width:90%;padding:28px 4px;line-height: 48px;font-size:28px; vertical-align: middle;}
    </style>
</head>
<body>
  <div class="content aui-padded-t-15">
    <div class="select-item" align="center" >
      <span class="item-text aui-text-danger" tapmode="hover" onclick="openBarcodeWin(0)">待入库</span>
    </div>
    <div class="select-item" align="center" >
      <span class="item-text aui-text-info" tapmode="hover" onclick="openBarcodeWin(1)" >待出库</span>
    </div>
    <div class="select-item" align="center" >
      <span class="item-text aui-text-primary" tapmode="hover" onclick="openBarcodeWin(2)">已入库</span>
    </div>
    <div class="select-item" align="center" >
      <span class="item-text aui-text-success" tapmode="hover" onclick="openBarcodeWin(3)" >已出库</span>
    </div>


  </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript">

function openBarcodeWin(state){
  $api.setStorage(MS, state);
  openWin('barcode-win',{state:state})
}

</script>
</html>
